#include <stdio.h>
#include <stdlib.h>
#include <string.h>

int main()
{
  char *parglist[3]={"ls","-l",0};
  char commands[30]={0};
  char *argv[10];
  int i=0;
  
  while(1)
  {
    i=0;
    fgets(commands,30,stdin);
    argv[i++]=strtok(commands," \n");
    while((argv[i++]=strtok(NULL," \n")));
     execvp(argv[0],argv);
  }
  return 0;
}

